s = input()
abbreviation = "".join(word[0].upper() for word in s.split())
print(abbreviation)